//package org.jeecg.modules.deepseek.config;
//
//import org.springframework.ai.chat.prompt.ChatOptions;
//
//import java.util.HashMap;
//import java.util.Map;
//
//public class DeepSeekChatOptions implements ChatOptions {
//    private String model;
//    private Double temperature;
//    private Map<String, String> httpHeaders;
//
//    public static Builder builder() {
//        return new Builder();
//    }
//
//    public static class Builder {
//        private String model = "deepseek-default";
//        private Double temperature = 0.7;
//        private Map<String, String> httpHeaders = new HashMap<>();
//
//        public Builder model(String model) {
//            this.model = model;
//            return this;
//        }
//
//        public Builder temperature(Double temperature) {
//            this.temperature = temperature;
//            return this;
//        }
//
//        public Builder httpHeaders(Map<String, String> headers) {
//            this.httpHeaders = headers;
//            return this;
//        }
//
//        public DeepSeekChatOptions build() {
//            DeepSeekChatOptions options = new DeepSeekChatOptions();
//            options.model = this.model;
//            options.temperature = this.temperature;
//            options.httpHeaders = this.httpHeaders;
//            return options;
//        }
//    }
//
//    public static DeepSeekChatOptions fromOptions(DeepSeekChatOptions options) {
//        return builder()
//                .model(options.model)
//                .temperature(options.temperature)
//                .httpHeaders(new HashMap<>(options.httpHeaders))
//                .build();
//    }
//
//    // Getters and setters
//}